package com.ruoyi.manage.db.dao;

import com.ruoyi.manage.db.model.SbaBackgroundVideosExample;
import com.ruoyi.manage.db.model.SbaBackgroundVideos;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SbaBackgroundVideosMapper {
    long countByExample(SbaBackgroundVideosExample example);

    int deleteByExample(SbaBackgroundVideosExample example);

    int deleteByPrimaryKey(String fileNumber);

    int insert(SbaBackgroundVideos record);

    int insertSelective(SbaBackgroundVideos record);

    List<SbaBackgroundVideos> selectByExample(SbaBackgroundVideosExample example);

    SbaBackgroundVideos selectByPrimaryKey(String fileNumber);

    int updateByExampleSelective(@Param("record") SbaBackgroundVideos record, @Param("example") SbaBackgroundVideosExample example);

    int updateByExample(@Param("record") SbaBackgroundVideos record, @Param("example") SbaBackgroundVideosExample example);

    int updateByPrimaryKeySelective(SbaBackgroundVideos record);

    int updateByPrimaryKey(SbaBackgroundVideos record);
}